package Payment.Channel;

import Payment.Method.IPayMethod;

public class PaymentChannelAliPay  extends PaymentChannelAbstract {
    public PaymentChannelAliPay(IPayMethod payMethod){
        super(payMethod);
    }

    @Override
    public boolean Pay(String uid, int money) {
        if(payMethod.authentication(uid)){
            System.out.println("验证已通过,支付宝支付成功");
        }


            return true;
    }
}
